import request from '@/utils/request'

// 获取商户详情
export function getShopInfo() {
  return request({
    url: '/system/acddShop/getInfo',
    method: 'get'
  })
}


// 添加连锁商户
export function addShopLs(data) {
  return request({
    url: '/system/acddShop/addUnderlingShop',
    method: 'post',
    data
  })
}

// 解绑核销员
export function unbind(id) {
  return request({
    url: `/system/acddWriteOffUser/unbinding/${id}`,
    method: 'post'
  })
}
